<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <link href="/stylesheets/styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<h2>Category Buzz:<span style="color:blue">{{ term }}</span><br/>
    {% if geo_location %}
    Geographic Location:<span style="color:blue">{{ geo_location }}</span><br/>
    {% endif %}
    Cached:<span style="color:blue">{{ cached }}</span></h2><br/>


{% for buzz_obj in buzz_obj_list %}
<h2>[{{buzz_obj.term}}]---{{buzz_obj.sentiment}}</h2>
    {% for tweet_obj in buzz_tweets_dict[buzz_obj.term] %}
        <div class="tweets-list">
            <ul>
                <li>
                    <img src='{{tweet_obj.profile_image_url}}'>

                    <h3>{{tweet_obj.from_user}}({{tweet_obj.from_user_name}})</h3>

                    <p>{{tweet_obj.created_at}}</p>
                    <blockquote class="text">{{ tweet_obj.text|escape }}</blockquote>

                </li>
            </ul>
        </div>
    {% endfor %}
{% endfor %}

</body>
</html>